Skip to content

ci: remove legacy staging SSH deployment - #785

Open
Futadaruma wants to merge 2 commits into
mainfrom
remove-legacy-staging-deploy
Open

Futadaruma wants to merge 2 commits into
mainfrom
remove-legacy-staging-deploy

Conversation

@Futadaruma

Copy link
Copy Markdown
Collaborator

close #784

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

.github/workflows/image.yaml から deploy-staging ジョブを削除しました。このジョブは、main ブランチへの push 後に SSH 接続し、ステージング環境のデプロイスクリプトを実行する設定でした。

Changes: ステージングデプロイ設定の削除

Layer / File(s) Summary
ステージングデプロイジョブの削除
.github/workflows/image.yaml
deploy-staging ジョブを削除しました。

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Suggested reviewers: ras0q

Merge Risk: Minimal · previous review 60b99

This removes the legacy SSH-based staging deployment job from the image workflow, as requested in issue #784. Pushes to main no longer trigger the SSH deploy. The failing CI checks come from a policy that requires actions to be pinned to commit SHAs, which this PR does not touch. The change itself carries no identified merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed タイトル「ci: remove legacy staging SSH deployment」は、変更内容と一致しています。.github/workflows/image.yaml から deploy-staging ジョブを削除する変更の主旨を正しく示しています。PR の目的も、古いステージング環境向けの不要なスクリプト削除であり、タイトルと整合します。
Linked Issues check Passed 対象要件: [#784] stg 環境のデプロイ先変更に伴い、不要なスクリプトの削除対応を行う。

根拠:
- 差分 (merge base から head まで) は .github/workflows/image.yaml の 15 行削除のみです。削除された deploy-staging ジョブは、main ブランチへの push 時に SSH で `sudo sh /srv/portf…
Out of Scope Changes check Passed この PR の変更は .github/workflows/image.yaml の deploy-staging ジョブの削除のみです。

- 削除対象は、#784 が求める不要なステージングデプロイ処理に直接対応します。
- 他のファイルや他のジョブへの変更はありません。build ジョブは残ります。
- 範囲外の変更は確認されませんでした。
Full details: Linked Issues check

Explanation

対象要件: [#784] stg 環境のデプロイ先変更に伴い、不要なスクリプトの削除対応を行う。

根拠:

  • 差分 (merge base から head まで) は .github/workflows/image.yaml の 15 行削除のみです。削除された deploy-staging ジョブは、main ブランチへの push 時に SSH で sudo sh /srv/portfolio/deploy.sh portfolio を実行していました。
  • この削除により、旧ステージング環境へのデプロイ処理がリポジトリから除去されます。これは #784 の要件に対応します。
  • head のファイル一覧に、ステージングデプロイ用のスクリプトファイルは見当たりません。deploy.sh はリモートホスト上にあり、リポジトリ内にはありません。そのため、リポジトリ内で削除すべき追加のスクリプトは確認されません。
  • 要件はコーディング作業に該当します。CI 設定の変更は、この要件を満たす実装として扱います。自動テストの要件はありません。
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 621cca5c-22db-479d-b9df-155db986faec
Commits

Reviewing files that changed from the base of the PR and between 8ee79df and 60b99ca.

Files selected for processing: 1

  • .github/workflows/image.yaml
Files with no reviewable changes: 1

  • .github/workflows/image.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stg デプロイ先変更に伴う対応

1 participant